package com.asfaloth.wss.biz.impl;

import com.asfaloth.wss.biz.IWsClientBiz;
import com.asfaloth.wss.biz.IWssUserBiz;
import com.asfaloth.wss.entity.WssUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by 80002004 on 2017/1/20.
 */
@Service
public class WsClientBiz implements IWsClientBiz {
    @Resource
    private IWssUserBiz userBiz;

    public String clientServer()
    {
        WssUser user = new WssUser();
        user.setId(2L);
        user.setUsername("a big bear");
        user.setAge(11);
        userBiz.insert(user);
        return "success";
    }
}
